@BEGINEVENTS

@IF
CITYTAKEN
city=Jerusalem
attacker=Israelites
defender=ANYBODY
@THEN
TEXT
The Jebusite city falls to David, at this time he is a tribal king of Judah.David now sets out to
make the renamed city Jerusalem the capital of Israel.In Jerusalem he reigned thirty and three 
years over all Israel and Judah. And Joab the son of Zeruiah was over the host
ENDTEXT
CREATEUNIT
unit=Joab
owner=Israelites
veteran=yes
homecity=None
locations
57,51
endlocations
PLAYWAVEFILE
REL.WAV
JUSTONCE
GIVETECHNOLOGY
receiver=Israelites
technology=60
@ENDIF

@IF
RANDOMTURN
denominator=20
@THEN
CREATEUNIT
unit=Ama-Sword
owner=Barbarians
veteran=no
homecity=none
locations
50,64
53,71
48,74
49,79
0,0
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=20
@THEN
CREATEUNIT
unit=Ama-Raider
owner=Barbarians
veteran=no
homecity=none
locations
59,69
56,66
59,77
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=20
@THEN
CREATEUNIT
unit=Ama-Sword
owner=Barbarians
veteran=no
homecity=none
locations
50,64
53,71
48,74
49,79
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=20
@THEN
CREATEUNIT
unit=Ama-Sword
owner=Barbarians
veteran=no
homecity=none
locations
59,0
56,66
59,77
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=20
@THEN
CREATEUNIT
unit=Ama-Raider
owner=Barbarians
veteran=no
homecity=none
locations
50,64
53,71
48,74
49,79
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=20
@THEN
CREATEUNIT
unit=Ama-Raider
owner=Barbarians
veteran=no
homecity=none
locations
59,69
56,66
59,0
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=20
@THEN
CREATEUNIT
unit=Can-Sword
owner=Barbarians
veteran=no
homecity=none
locations
69,13
73,15
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=20
@THEN
CREATEUNIT
unit=Can-Sword
owner=Barbarians
veteran=no
homecity=none
locations
55,23
56,18
55,29
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=20
@THEN
CREATEUNIT
unit=Can-Sword
owner=Barbarians
veteran=no
homecity=none
locations
53,37
56,38
52,34
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=30
@THEN
CREATEUNIT
unit=Can-Sword
owner=Barbarians
veteran=no
homecity=none
locations
61,37
endlocations
@ENDIF

@IF
RANDOMTURN
denominator=40
@THEN
CREATEUNIT
unit=Warship
owner=Barbarians
veteran=no
homecity=none
locations
5,5
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=43
receiver=ANYBODY
@THEN
TEXT
David brought the ark from the house of Obed-edom up to Jerusalem..Here it was placed in a
new tent or tabernacle which David erected for the purpose of worship
" And David danced before the Lord with all his might; and David was girded with a linen ephod.
So David and all the house of Israel brought up the ark of the Lord with shouting, and with the
sound of the trumpet. Then the children of Israel did put away Baalim and Ashtaroth, and served 
the Lord only.
ENDTEXT
PLAYWAVEFILE
REL.WAV
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=71
receiver=ANYBODY
@THEN
PLAYWAVEFILE
POL.WAV
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=39
receiver=ANYBODY
@THEN
PLAYWAVEFILE
POL.WAV
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=41
receiver=ANYBODY
@THEN
PLAYWAVEFILE
IDOL.WAV
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=15
receiver=Israelites
@THEN
PLAYWAVEFILE
POL.WAV
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=42
receiver=ANYBODY
@THEN
PLAYWAVEFILE
IDOL.WAV
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=13
receiver=ANYBODY
@THEN
TEXT
Now that the Jewish nation in the south is growing in power,the city states of Syria unite in an
alliance against Israel.
ENDTEXT
PLAYWAVEFILE
POL.WAV
MAKEAGGRESSION
who=Syrians
whom=Israelites
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=48
receiver=ANYBODY
@THEN
TEXT
The elders of Israel now repaired to Hebron and offered allegiance to David in name of all the
people, among whom the greatest enthusiasm prevailed. He is anointed king over all Israel.
ENDTEXT
PLAYWAVEFILE
REL.WAV
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=40
receiver=ANYBODY
@THEN
PLAYWAVEFILE
POL.WAV
JUSTONCE
@ENDIF

@IF
RANDOMTURN
denominator=40
@THEN
CREATEUNIT
unit=Ama-Spear
owner=Barbarians
veteran=no
homecity=none
locations
50,64
53,71
48,74
49,79
endlocations
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=49
receiver=Israelites
@THEN
CREATEUNIT
unit=SiegeInfantry
owner=Philistine
veteran=yes
homecity=none
locations
52,54
49,55
0,0
endlocations
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=49
receiver=Israelites
@THEN
CREATEUNIT
unit=Phi-Chariot
owner=Philistine
veteran=yes
homecity=none
locations
52,54
49,55
endlocations
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=49
receiver=Israelites
@THEN
CREATEUNIT
unit=Phi-Sword
owner=Philistine
veteran=yes
homecity=none
locations
52,54
49,55
endlocations
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=49
receiver=Israelites
@THEN
TEXT
David made a league with the elders of Israel in Hebron before the Lord: and they anointed 
David king over Israel.
But when the Philistines heard that they had anointed David king over Israel, all the Philistines
came up to seek David; and David heard of it, and went down to them. The Philistines also came
and spread themselves in the valley of Rephaim.
ENDTEXT
PLAYWAVEFILE
POL.WAV
MAKEAGGRESSION
who=Philistine
whom=Israelites
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Rabbah
attacker=Israelites
defender=ANYBODY
@THEN
TEXT
And Joab fought against Rabbah of the children of Ammon, and took the royal city.And he took
their king's crown from off his head, with the precious stones: and it was set on David's head.
And he brought forth the spoil of the city in great abundance.
ENDTEXT
PLAYWAVEFILE
REL.WAV
@ENDIF

@IF
CITYTAKEN
city=Ashdod
attacker=Israelites
defender=Philistine
@THEN
TEXT
And after this it came to pass that David smote the Philistines, and subdued them: and David took
the bridle out of the hand of the Philistines.
ENDTEXT
PLAYWAVEFILE
POL.WAV
@ENDIF

@IF
CITYTAKEN
city=Kir-hareseth
attacker=Israelites
defender=Moabites
@THEN
TEXT
And so the Moabites became David's servants, and brought gifts.
ENDTEXT
PLAYWAVEFILE
REL.WAV
@ENDIF

@IF
CITYTAKEN
city=Damascus
attacker=Israelites
defender=Syrians
@THEN
TEXT
Then David put garrisons in Syria of Damascus: and the Syrians became servants to David, and
brought gifts.
ENDTEXT
PLAYWAVEFILE
POL.WAV
@ENDIF

@IF
CITYTAKEN
city=Robedola
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
And he gathered an host, and smote the Amalekites, and delivered Israel out of the hands of
them that spoiled them.
ENDTEXT
PLAYWAVEFILE
POL.WAV
@ENDIF

@IF
CITYTAKEN
city=Ammonem
attacker=ANYBODY
defender=Syrians
@THEN
TEXT
And he gat him a name when he returned from smiting of the Syrians.
ENDTEXT
PLAYWAVEFILE
POL.WAV
@ENDIF

@IF
CITYTAKEN
city=Teman
attacker=Israelites
defender=Edomites
@THEN
TEXT
And he put garrisons in Edom; throughout all Edom put he garrisons, and all they of Edom
became David's servants.
ENDTEXT
PLAYWAVEFILE
REL.WAV
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=15
receiver=Israelites
@THEN
TEXT
And David reigned over all Israel; and David executed judgment and justice unto all his people.
ENDTEXT
PLAYWAVEFILE
REL.WAV
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Cochaba
attacker=Israelites
defender=Syrians
@THEN
TEXT
And David gat him a name when he returned from smiting of the Syrians in the valley of salt,
being eighteen thousand men.
ENDTEXT
PLAYWAVEFILE
EXTRA1.WAV
@ENDIF

@IF
CITYTAKEN
city=Gath
attacker=Israelites
defender=Philistine
@THEN
TEXT
And David inquired of the Lord, saying, Shall I go up to the Philistines? wilt thou deliver them into
mine hand? And the Lord said unto David, Go up: for I will doubtless deliver the Philistines into
thine hand.
ENDTEXT
PLAYWAVEFILE
REL.WAV
@ENDIF

@IF
CITYTAKEN
city=Aphek
attacker=Israelites
defender=Philistine
@THEN
TEXT
And David inquired of the Lord, saying, Shall I go up to the Philistines? wilt thou deliver them into
mine hand? And the Lord said unto David, Go up: for I will doubtless deliver the Philistines into
thine hand.
ENDTEXT
PLAYWAVEFILE
REL.WAV
@ENDIF

@IF
CITYTAKEN
city=Baal gad
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
And there they left their images and god`s, and the king and his men burned them.
ENDTEXT
PLAYWAVEFILE
IDOL.WAV
@ENDIF

@IF
CITYTAKEN
city=Beth-shan
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
And there they left their images and god`s, and the king and his men burned them.
ENDTEXT
PLAYWAVEFILE
IDOL.WAV
@ENDIF

@IF
RANDOMTURN
denominator=75
@THEN
TEXT
Be strong and quit yourselves like men, O ye Philistines, that ye be not servants unto the 
Hebrews, as they have been to you: quit yourselves like men, and fight.
ENDTEXT
PLAYWAVEFILE
IDOL.WAV
MAKEAGGRESSION
who=Philistine
whom=Israelites
@ENDIF

@IF
CITYTAKEN
city=Gezer
attacker=Israelites
defender=Philistine
@THEN
TEXT
And David did so, as the Lord had commanded him; and smote the Philistines from Geba until
thou come to Gezer.
ENDTEXT
PLAYWAVEFILE
POL.WAV
@ENDIF

@IF
CITYTAKEN
city=Salkhat
attacker=Israelites
defender=ANYBODY
@THEN
TEXT
Thus saith the Lord of hosts, I took thee from the sheepcote, from following the sheep, to be
ruler over my people, over Israel:
And I was with thee whithersoever thou wentest, and have cut off all thine enemies out of thy
sight, and have made thee a great name, like unto the name of the great men that are in the earth.
ENDTEXT
PLAYWAVEFILE
REL.WAV
@ENDIF

@IF
CITYTAKEN
city=Ezion Geber
attacker=Israelites
defender=ANYBODY
@THEN
TEXT
Thus saith the Lord of hosts, I took thee from the sheepcote, from following the sheep, to be
ruler over my people, over Israel:
And I was with thee whithersoever thou wentest, and have cut off all thine enemies out of thy
sight, and have made thee a great name, like unto the name of the great men that are in the earth.
ENDTEXT
PLAYWAVEFILE
REL.WAV
@ENDIF

@IF
CITYTAKEN
city=Ain el-Kadeis
attacker=ANYBODY
defender=ANYBODY
@THEN
TEXT
And he gathered an host, and smote the Amalekites, and delivered them out of the hands of
them that spoiled them.
ENDTEXT
PLAYWAVEFILE
POL.WAV
@ENDIF

@IF
CITYTAKEN
city=Ar
attacker=ANYBODY
defender=Moabites
@THEN
TEXT
And he smote Moab, and measured them with a line, casting them down to the ground; even
with two lines measured he to put to death, and with one full line to keep alive.
ENDTEXT
PLAYWAVEFILE
POL.WAV
@ENDIF

@IF
CITYTAKEN
city=Gadara
attacker=Israelites
defender=Syrians
@THEN
TEXT
David smote also Hadadezer, the son of Rehob, king of Zobah.
ENDTEXT
PLAYWAVEFILE
POL.WAV
@ENDIF

@IF
RANDOMTURN
denominator=150
@THEN
TEXT
And the princes of the children of Ammon said unto Hanun their lord, Thinkest thou that David
doth honour thy father, that he hath sent comforters unto thee? hath not David rather sent his
servants unto thee, to search the city, and to spy it out, and to overthrow it?
Wherefore Hanun took David's servants, and shaved off the one half of their beards, and cut off
their garments in the middle, even to their buttocks, and sent them away.
ENDTEXT
CREATEUNIT
unit=M&A-Chariot
owner=Ammonites
veteran=no
homecity=none
locations
73,47
70,48
endlocations
PLAYWAVEFILE
IDOL.WAV
MAKEAGGRESSION
who=Ammonites
whom=Israelites
@ENDIF

@IF
RANDOMTURN
denominator=150
@THEN
TEXT
And when the children of Ammon saw that they stank before David, the children of Ammon sent
and hired the Syrians of Bethrehob and the Syrians of Zoba, twenty thousand footmen, and of
king Maacah a thousand men, and of Ishtob twelve thousand men.
ENDTEXT
PLAYWAVEFILE
IDOL.WAV
MAKEAGGRESSION
who=Israelites
whom=Syrians
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=77
receiver=Phoenician
@THEN
TEXT
The Phoenicians begin the most enterprising merchant trading of the old world, establishing 
colonies at various places, of which Carthage was the chief.
ENDTEXT
PLAYWAVEFILE
POL.WAV
JUSTONCE
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=68
receiver=Philistine
@THEN
TEXT
 And the Philistines were afraid, for they said, God is come into their camp. And they said, Woe 
unto us! for there hath not been such a thing heretofore. Woe unto us! who shall deliver us out of 
the hand of these mighty Gods?
 And so an alliance with Egypt was secured.
ENDTEXT
PLAYWAVEFILE
IDOL.WAV
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Jerusalem
attacker=ANYBODY
defender=Israelites
@THEN
TEXT
And the nation fought, and Israel was smitten, and they fled every man into his tent: and there was 
a very great slaughter; for there fell of Israel thirty thousand footmen.
  And the ark of God was taken; and the two sons of Eli, Hophni and Phinehas, were slain.
  And there ran a man of Benjamin out of the army, and came to Shiloh the same day with his 
clothes rent, and with earth upon his head.
ENDTEXT
PLAYWAVEFILE
IDOL.WAV
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=24
receiver=Israelites
@THEN
TEXT
I will reward according to all the works which they have done since the day that I brought them 
up out of Egypt even unto this day, wherewith they have forsaken me, and served other gods.
ENDTEXT
PLAYWAVEFILE
IDOL.WAV
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Jabash-gilead
attacker=Ammonites
defender=Israelites
@THEN
TEXT
Then Nahash the Ammonite came up, and encamped against Jabeshgilead: and all the men of 
Jabesh said unto Nahash, Make a covenant with us, and we will serve thee.
 And Nahash the Ammonite answered them, On this condition will I make a covenant with you, 
that I may thrust out all your right eyes, and lay it for a reproach upon all Israel.
ENDTEXT
PLAYWAVEFILE
IDOL.WAV
@ENDIF

@IF
RECEIVEDTECHNOLOGY
technology=74
receiver=Israelites
@THEN
TEXT
 But if ye shall still do wickedly, ye shall be consumed, both ye and your king.
ENDTEXT
PLAYWAVEFILE
IDOL.WAV
JUSTONCE
@ENDIF

@IF
CITYTAKEN
city=Golan
attacker=ANYBODY
defender=Israelites
@THEN
TEXT
 When the men of Israel saw that they were in a strait, (for the people were distressed,) then the 
people did hide themselves in caves, and in thickets, and in rocks, and in high places, and in pits.
ENDTEXT
PLAYWAVEFILE
POL.WAV
@ENDIF

@IF
CITYTAKEN
city=Heshbon
attacker=ANYBODY
defender=Israelites
@THEN
TEXT
 When the men of Israel saw that they were in a strait, (for the people were distressed,) then the 
people did hide themselves in caves, and in thickets, and in rocks, and in high places, and in pits.
ENDTEXT
PLAYWAVEFILE
IDOL.WAV
@ENDIF

@IF
CITYTAKEN
city=Hazor
attacker=ANYBODY
defender=Israelites
@THEN
TEXT
 When the men of Israel saw that they were in a strait, (for the people were distressed,) then the 
people did hide themselves in caves, and in thickets, and in rocks, and in high places, and in pits.
ENDTEXT
PLAYWAVEFILE
IDOL.WAV
@ENDIF

@IF
CITYTAKEN
city=Dothan
attacker=Philistine
defender=Israelites
@THEN
TEXT
 And when the men of Israel that were on the other side of the valley, and they that were on the 
other side Jordan, saw that the men of Israel fled, they forsook the cities, and fled; and the 
Philistines came and dwelt in them.
ENDTEXT
PLAYWAVEFILE
IDOL.WAV
@ENDIF

@IF
CITYTAKEN
city=Tyre
attacker=ANYBODY
defender=Phoenician
@THEN
TEXT
How are the mighty fallen, and the weapons of war perished! Tyre the great city has fallen.
ENDTEXT
PLAYWAVEFILE
POL.WAV
@ENDIF

@IF
CITYTAKEN
city=Mizpah
attacker=Israelites
defender=Moabites
@THEN
TEXT
We have heard of the pride of Moab; he is very proud: even of his haughtiness, and his pride, 
and his wrath: but his lies shall not be so.
 Therefore shall Moab howl for Moab, every one shall howl: for the foundations of Kirhareseth 
shall ye mourn; surely they are stricken.
ENDTEXT
PLAYWAVEFILE
REL.WAV
@ENDIF

@ENDEVENTS
